package com.atguigu.config;

import com.atguigu.bean.A;
import com.atguigu.bean.B;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author : leimingchao
 * @date Date : 2022年03月08日 23:53
 */
@Configuration
public class MainConfig {

    @Bean
    public A a() {
        return new A();
    }

    @Bean
    public B b() {
        return new B();
    }
}
